﻿using Microsoft.AspNetCore.Http;
using netcore_service.Dto;
using netcore_service.Model;
using Panda.DynamicWebApi;
using Panda.DynamicWebApi.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace netcore_service.IService
{
    [DynamicWebApi]
    public interface IManagerService : IDynamicWebApi
    {
        Task<ApiResult<UserDto>> CheckUser(UserPo user);
        Task<string> GetValidateCode(string code);
        string GetLess(string codeKey);

        Task<ApiResult<string>> UploadImg(IFormFile file);
        Task<ApiResult<string>> getOpenId(string code);

        Task<tokenDto> GetAccessToken();
        Task<string> getweanalysday(int days);
        Task<string> getweanalysisappidmonthlyvisittrend(MonthPo monthPo);
        // Task<string> getweanalysisappiddailyvisittrend(MonthPo monthPo);
        Task<ApiResult<List<WebUrlDto>>> GetWebUrl();
    }
}
